]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowPreview: Don't hide overlay while hovering icon
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 9 Nov 2023 23:08:18 +0000 (00:08 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 11 Dec 2023 15:10:59 +0000 (15:10 +0000)
We should treat the icon like we do the caption or close button,
and still consider the preview hovered when the pointer is over
the icon.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3049>

js/ui/windowPreview.js

index 65e2a309e131858ea31a83b4d3c6551e57a55909..d865e6e25b72f58658b717e0e525008c7800917e 100644 (file)
@@ -577,6 +577,7 @@ export const WindowPreview = GObject.registerClass({
             GLib.PRIORITY_DEFAULT,
             WINDOW_OVERLAY_IDLE_HIDE_TIMEOUT, () => {
                 if (this._closeButton['has-pointer'] ||
+                    this._icon['has-pointer'] ||
                     this._title['has-pointer'])
                     return GLib.SOURCE_CONTINUE;